$OpenBSD: patch-src_ui_act_c,v 1.7 2015/03/20 14:59:36 dcoppa Exp $

commit 1cd5c5ec77ea43088982a439b58499be87c62087
Author: Lars-Dominik Braun <lars@6xq.net>
Date:   Sat Mar 7 16:01:26 2015 +0100

Fix upcoming songs assertion failure
This should not be an assertion, it is expected to happen.

--- src/ui_act.c.orig	Sun Sep 28 08:17:29 2014
+++ src/ui_act.c	Fri Mar 20 09:44:47 2015
@@ -496,9 +496,7 @@ BarUiActCallback(BarUiActTempBanSong) {
 /*	print upcoming songs
  */
 BarUiActCallback(BarUiActPrintUpcoming) {
-	assert (selSong != NULL);
-
-	PianoSong_t *nextSong = PianoListNextP (selSong);
+	PianoSong_t * const nextSong = PianoListNextP (selSong);
 	if (nextSong != NULL) {
 		BarUiListSongs (&app->settings, nextSong, NULL);
 	} else {
